{template header}
<script language="javascript" type="text/javascript" src="data/js/date/WdatePicker.js?4.72"></script>

<link type="text/css" rel="stylesheet" href="{$TS_APP[tpl][skin]}{$skin}/editor.css" />

<div class="midder">

<h1 style="margin-top:30px;">
发布活动
</h1>

<div class="qi_c_c">

<form method="POST" action="index.php?app=event&ac=do&ts=add">
<table width="800">
<tbody><tr><td width="100">标题: </td>
<td><input style="padding:3px 0;width:400px;" type="text" value="" maxlength="100" size="50" name="title" gtbfieldid="2"></td></tr>
<tr>
<td>类型:</td>
<td>
<select name="typeid">
<!--{loop $arrType $key $item}-->
<option value="{$item[typeid]}">{$item[typename]}</option>
<!--{/loop}-->
</select>
</td>
</tr>
<tr>
<td>开始时间：</td>
<td>
<input name="time_start" readonly value="" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',minDate:'{php echo date('Y-m-d')} 00:00',maxDate:'{php echo date('Y-m-d',time()+604800)} 00:00'})" /> * 7天以内。
</td>
</tr>
<tr>
<td>结束时间：</td>
<td>
<input class="date_input" name="time_end" value="" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',minDate:'{php echo date('Y-m-d')} 00:00',maxDate:'{php echo date('Y-m-d',time()+2502000)} 00:00'})"  /> * 30天以内。</td>
</tr>
<tr><td>地点：</td><td>

{$strUser[province][provincename]} - {$strUser[city][cityname]}
<input type="hidden" name="provinceid" value="{$strUser[province][provinceid]}" />
<input type="hidden" name="cityid" value="{$strUser[city][cityid]}" />
<select name="areaid">
<!--{loop $arrArea $key $item}-->
<option value="{$item[areaid]}">{$item[areaname]}</option>
<!--{/loop}-->
</select>
<input name="address" />
</td>
</tr>
<tr><td></td><td>
<!--ThinkSAAS迷你编辑器-->
{php include TmooTemplate("editor/editor_mini");}
</td>
</tr>
<tr>
<td valign="top">
内容：
</td><td><textarea style="width:100%;" id="editor_content" cols="55" rows="20" name="content">{$strEvent[content]}</textarea></td></tr>

<tr><td></td><td>
<input type="hidden" name="groupid" value={$groupid} />
<input type="submit" value="好了，发布">
</td></tr></tbody></table>
</form>

</div>
</div>

{template footer}